package com.quwan.manager.service;
import com.quwan.entity.TVipRule;

import java.util.List;

/**
 * @author laozhang
 * @date 2022/3/17
 */
public interface IVipRuleService {
    /**
     * 获取金额配置列表
     * @return
     */
    List<TVipRule> getTVipRuleList();
    /**
     * 增加金额配置
     * @param vipRule
     * @return
     */
    boolean addTVipRule(TVipRule vipRule);
    /**
     * 修改金额配置
     * @param vipRule
     * @return
     */
    boolean updateTVipRule(TVipRule vipRule);
    /**
     * 金额配置详情
     * @param id
     * @return
     */
    TVipRule detailTVipRule(Integer id);
    /**
     * 删除金额配置
     * @param id
     * @return
     */
    boolean delTVipRule(Integer id);

}
